﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace JVLMRP.WEB.Controllers
{
    public class AdminController : Controller
    {
        //
        // GET: /Admin/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ManageProducts()
        {
            JVLMRP.MRPProductsService ProductsService = new MRPProductsService();
            IList<MRPProducts> Products = ProductsService.GetAllMrpproducts(true);
            ViewData["Products"] = Products;
            return View();
        }

    }
}
